#ifndef USERMESSAGE_H
#define USERMESSAGE_H

#include <QByteArray>
#include "Change/message.h"
#include "Networking/user.h"

class UserMessage : public Message
{
public:
	UserMessage(User newUsr);
	UserMessage(QByteArray bytes);

	QByteArray toBytes();

	User getUser() {return usr;}
	void setUser(User newUsr) {usr = newUsr;}

private:
	User usr;
};

#endif // USERMESSAGE_H
